﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
 Inherits="System.Web.Mvc.ViewPage<IntellectShop.Common.Order>" %>
<%@ Import Namespace="IntellectShop.Web2.Code" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Html.Resource("Details") %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<h1><%= Html.Resource("Details") %></h1>

	<div class="innerArticle">
		<% Html.RenderAction("ViewBody", "PageContent", new { pageContentUniqName = IntellectShop.Common.PageContentUniqName.OrderDetails }); %>
	</div>
	<%= Html.DisplayFor(model => Model)%>

	<% if (HttpContext.Current.User.IsInRole(IntellectShop.Common.Globals.AdministratorRoleName))
	{ %>
	<p>
		<%= Html.ActionLink(Html.Resource("Edit"), "Edit", new { orderID = Model.OrderID })%> |
		<%= Html.ActionLink(Html.Resource("Strings, BackToList"), "Index")%>
	</p>
	<%} %>
</asp:Content>
